<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt"%>
<%@ page import="com.yaodian100.core.common.utils.ServerValue"%>
<c-rt:set var="frontContextPath" value='<%=ServerValue.getFrontContextPath()%>'/>
<c:choose>
<c:when test="${actionResult == 'new_success' || actionResult == 'new_mobile_exist'}">
	<c-rt:set var="norm" value='新增'/>
</c:when>
<c:otherwise>
	<c-rt:set var="norm" value='修改'/>
</c:otherwise>
</c:choose>
<html>
<head>
<script language="javascript">
	$().ready(function(){
		$("#current_location").html('&nbsp;&gt;&nbsp;<a href="${frontContextPath}/member/modifydata.do">个人信息管理&nbsp;-&nbsp;修改个人信息</a>&nbsp;&gt;&nbsp;${norm}手机号码');
		$("#m_modifyData").css("font-weight","bold");
	});
</script>
</head>
<body>
<c:choose>
  	  <c:when test="${actionResult == 'new_success' || actionResult == 'modify_success'}">
	<h2>${norm}手机号码</h2>
      <p class="c-f LH-1of5">&nbsp;</p>
      <div class="change-email">
      <div class="ok-img"><p><strong class="txt-m">手机号码${norm}成功！</strong></p>
      <p>
      <c:choose>
  	<c:when test="${norm == '新增'}">
   	 您已${norm}登录手机号码：<strong class="txt-rd">${member.mobile}</strong><br />
  	</c:when>
	  <c:otherwise>
	  <p>您的登录手机号码已更新为<strong class="txt-rd">${member.mobile}</strong><br />
	  </c:otherwise>
	</c:choose>
        之后耀点100給您的重要通知短信，都將发送至此手机。 </p>
      <c:if test ="${empty member.email}">
      	<div class="more-data">
			<strong class="txt-m">您的邮箱尚未验证，完成验证后，即可获得 ${completeInfoBonus} 积分！</strong><br />
			<a href="${frontContextPath}/member/modifydata.do" class="btn-mid">好，这就去</a>
		</div>
      </c:if>
      <c:if test ="${member.getBonus > 0}">
      	<div class="more-data">
			<strong class="txt-m">您完善并验证个人信息成功，获得 ${member.getBonus} 积分！</strong><br />
		    <span>获得的积分将可以作为现金抵用订单金额！</span>
        </div>
      </c:if>
      </div>
      </div>
  	  </c:when>
	  <c:otherwise>
		<h2>${norm}手机号码</h2>
		<p class=""><strong class="txt-m"><br />
        	 手机号码已被使用，请<a href="${frontContextPath}/member/modifymobile.do">更换新的手机号码</a>。</strong></p><br />
	  </c:otherwise>
</c:choose>      
<p align="center"><a href="${frontContextPath}/">回首页</a>｜<a href="${frontContextPath}/member/myyaodian.do">回我的耀点100</a>｜<a href="${frontContextPath}/member/modifydata.do">修改个人信息</a></p>
</body>
</html>